home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Day Cry
/
Day Cry CD.bin
/
oh_towns
/
taropyon
/
splib
/
splib.lzh
/
PRG
/
LHX
/
INTRFACE.H
< prev
next >
Wrap
C/C++ Source or Header
|
1992-11-03
|
679b
|
37 lines
#include "typedef.h"
typedef short node;
struct interfacing
{
FILE *infile;
FILE *outfile;
ulong original;
ulong packed;
int dicbit;
int method;
int dispflg;
};
extern struct interfacing interface;
/* from error.c */
void error(char *errmes, char *p);
void fileerror(char *err, FILE * file);
/* from slide.c */
extern node *next;
extern uchar text[];
#define TEXT_SIZE 0x4100
int encode_alloc(int method);
void encode(struct interfacing * interface);
void decode(struct interfacing * interface);
/* from crcio.c */
extern ushort crc;
void make_crctable(ushort crcpoly);
ushort calccrc(uchar * p, uint n);